﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="Statistics.aspx.cs" Inherits="Statistics" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="Css/updateTypeCard.css" rel="stylesheet" />
    <link href="Css/Statistics.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="content_title">Statistics</div>
    <div id="content_detail">
        <div id="Statistics_count">
            <div class="Statistics_count_title">Statistics send card number</div>
            <div class="Statistics_count_content">

                <asp:GridView ID="grvCount" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical">
                    <AlternatingRowStyle BackColor="#DCDCDC" />
                    <Columns>
                        <asp:BoundField DataField="typeCardName" HeaderText="Name Type Ecard" />
                        <asp:BoundField DataField="sent" HeaderText="Sent" />
                    </Columns>
                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#0000A9" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#000065" />
                </asp:GridView>

            </div>
            <div class="total">Total :
                <asp:Label ID="lblTotalCount" runat="server" Text="..."></asp:Label></div>
            <div class="total">today :
                <asp:Label ID="lblToday" runat="server" Text="..."></asp:Label></div>
            <div class="total">
                <asp:Button ID="btnUpdate" runat="server" Text="Update" BackColor="#FF6600" ForeColor="White" Height="25px" OnClick="btnUpdate_Click" Width="82px" /></div>
        </div>
        <div id="Transaction_Detail">
            <div class="Statistics_count_title">Table Statistics Transaction Details</div>
            <div class ="Transaction_display">
                <asp:GridView ID="grvTransaction" runat="server" AllowPaging="true" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnPageIndexChanging="grvTransaction_PageIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="LogSentMailId" HeaderText="Id" />
                        <asp:BoundField DataField="customerId" HeaderText="customerId" />
                        <asp:BoundField DataField="nameSender" HeaderText="Sender" />
                        <asp:BoundField DataField="emailSender" HeaderText="emailSender" />
                        <asp:BoundField DataField="ecardId" HeaderText="ecardId" />
                        <asp:BoundField DataField="dateSent" HeaderText="dateSent" />
                        <asp:BoundField DataField="emailReceived" HeaderText="emailReceived" />
                        <asp:BoundField DataField="nameReceived" HeaderText="nameReceived" />
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <RowStyle ForeColor="#000066" HorizontalAlign="Center"/>
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#007DBB" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#00547E" />
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>

